#pragma once
#include "DriverInfo.hpp"
#include "TimingInfo.hpp"
#include<unordered_map>

using namespace std;

class long_hashing_func {
    public:
        unsigned long operator()(const long key) const {
            return key;
        }
};

class long_key_equal_fn {
    public:
        bool operator()(const long t1, const long t2) const {
            return (t1 == t2);
        }
};

typedef std::unordered_map<const long, DriverInfo, long_hashing_func, long_key_equal_fn> DriverInfoMap; 
typedef std::unordered_map<std::string, TimingInfo> TimingInfoPerCategoryMap; 

#ifndef SHAREFILE_INCLUDED
#define SHAREFILE_INCLUDED
#ifdef  MAIN_FILE
bool gReplayIsActive;
#else
extern bool gReplayIsActive;
#endif
#endif

struct PluginProfile
{
	bool hide;
	double widgetOffsetX;
	double widgetOffsetY;
	bool disableCamera;
};

